@BEGINEVENTS

@IF
CITYTAKEN
city=Constantinople
attacker=Turks
defender=Byzantines
@THEN
TEXT
"Romania is dead. Romania is conquered"
ENDTEXT
CREATEUNIT
unit=TheodosianWall
owner=Turks
veteran=yes
homecity=Constantinople
locations
68,36
0,0
0,0
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
CHANGEMONEY
receiver=Turks
amount=2000
CHANGETERRAIN
terraintype=6
maprect
68,38,68,38,68,38,68,38
@ENDIF

@IF
UNITKILLED
unit=Ghazi
attacker=Byzantines
defender=Turks
@THEN
CREATEUNIT
unit=Ghazi
owner=Turks
veteran=yes
homecity=NONE
locations
14,28
22,20
19,11
30,16
48,20
50,26
48,40
58,62
70,58
endlocations
@ENDIF

@IF
UNITKILLED
unit=Yanchars
attacker=ANYBODY
defender=Turks
@THEN
CREATEUNIT
unit=Yanchars
owner=Turks
veteran=yes
homecity=NONE
locations
23,55
18,42
13,25
30,16
48,20
40,22
50,26
0,0
0,0
endlocations
MAKEAGGRESSION
who=Turks
whom=Serbs
@ENDIF

@IF
UNITKILLED
unit=Mamelucks
attacker=Latins
defender=Egyptians
@THEN
CREATEUNIT
unit=Mamelucks
owner=TRIGGERDEFENDER
veteran=yes
homecity=NONE
locations
119,81
117,81
0,0
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=4
@THEN
MOVEUNIT
unit=Ghazi
owner=Turks
maprect
68,44,76,44,76,52,68,52
moveto
71,43
numbertomove=ALL
CREATEUNIT
unit=Crusaders
owner=Latins
veteran=yes
homecity=NONE
locations
112,98
116,88
116,74
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
MAKEAGGRESSION
who=Byzantines
whom=Turks
CHANGETERRAIN
terraintype=4
maprect
107,77,107,77,107,77,107,77
@ENDIF

@IF
RANDOMTURN
denominator=2
@THEN
MOVEUNIT
unit=Ghazi
owner=Turks
maprect
45,43,51,43,51,49,45,49
moveto
46,42
numbertomove=ALL
CREATEUNIT
unit=Mamelucks
owner=Egyptians
veteran=yes
homecity=NONE
locations
117,95
0,0
0,0
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
MAKEAGGRESSION
who=Turks
whom=Byzantines
CHANGETERRAIN
terraintype=4
maprect
107,77,107,77,107,77,107,77
@ENDIF

@IF
RANDOMTURN
denominator=3
@THEN
CREATEUNIT
unit=Mamelucks
owner=Egyptians
veteran=yes
homecity=NONE
locations
117,95
118,96
116,96
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
MAKEAGGRESSION
who=Egyptians
whom=Latins
CHANGETERRAIN
terraintype=4
maprect
61,57,63,57,64,58,62,58
@ENDIF

@IF
TURN
turn=184
@THEN
TEXT
Profiting from Hungarian offensive, Constantine, despotes of Morea
plans to annect last Latins' possesities in Greece.
ENDTEXT
CREATEUNIT
unit=Dragases
owner=Byzantines
veteran=yes
homecity=Selymbria
locations
22,62
21,61
20,60
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
@ENDIF

@IF
CITYTAKEN
city=Corinthus
attacker=Byzantines
defender=Latins
@THEN
TEXT
Mistrans subdue Corinth. Powerfull fortifications,
known as Hexamilion, are built to protect Morea.
ENDTEXT
CREATEUNIT
unit=Fortifications
owner=TRIGGERATTACKER
veteran=yes
homecity=NONE
locations
23,55
0,0
0,0
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
CHANGETERRAIN
terraintype=5
maprect
24,54,24,54,24,54,24,54
@ENDIF

@IF
TURN
turn=183
@THEN
TEXT
Ladislaus, king of Croatia, Hungary and Poland,
with the help of great  hungarian general John
Hunyadi, starts a "crusade" against Turks.
ENDTEXT
CREATEUNIT
unit=Ladislas
owner=Latins
veteran=yes
homecity=NONE
locations
9,1
8,0
10,2
11,3
0,0
0,0
0,0
0,0
0,0
endlocations
MAKEAGGRESSION
who=Latins
whom=Turks
GIVETECHNOLOGY
receiver=Latins
technology=16
@ENDIF

@IF
TURN
turn=142
@THEN
TEXT
Tamerlane enters Anatoly.
ENDTEXT
CREATEUNIT
unit=Tamerlane
owner=TRIGGERATTACKER
veteran=yes
homecity=NONE
locations
94,44
93,43
92,42
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
CHANGETERRAIN
terraintype=7
maprect
72,12,72,12,72,20,72,20
@ENDIF

@IF
RANDOMTURN
denominator=2
@THEN
MOVEUNIT
unit=Dhow
owner=Egyptians
maprect
0,22,56,22,66,90,0,90
moveto
81,107
numbertomove=ALL
CREATEUNIT
unit=Lat.Galley
owner=Latins
veteran=yes
homecity=NONE
locations
35,75
34,74
33,73
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
MAKEAGGRESSION
who=Turks
whom=Bulgarians
CHANGETERRAIN
terraintype=4
maprect
58,56,58,56,58,56,58,56
@ENDIF

@IF
TURN
turn=142
@THEN
TEXT
He orders turkish sultan to return
to Byzantines all the lands he had
taken from them.
ENDTEXT
CREATEUNIT
unit=Tamerlane
owner=TRIGGERATTACKER
veteran=yes
homecity=NONE
locations
109,47
108,46
107,45
106,44
105,43
104,42
0,0
0,0
0,0
endlocations
CHANGETERRAIN
terraintype=7
maprect
72,20,76,20,76,20,72,20
@ENDIF

@IF
TURN
turn=142
@THEN
TEXT
But sultan laughs of his threats
ENDTEXT
CREATEUNIT
unit=Tamerlane
owner=TRIGGERATTACKER
veteran=yes
homecity=NONE
locations
109,47
108,46
107,45
106,44
105,43
0,0
0,0
0,0
0,0
endlocations
CHANGETERRAIN
terraintype=7
maprect
80,12,80,12,80,20,80,20
@ENDIF

@IF
TURN
turn=142
@THEN
CREATEUNIT
unit=Tamerlane
owner=TRIGGERATTACKER
veteran=yes
homecity=NONE
locations
109,47
108,46
107,45
106,44
105,43
0,0
0,0
0,0
0,0
endlocations
CHANGETERRAIN
terraintype=7
maprect
84,12,84,12,84,20,84,20
@ENDIF

@IF
TURN
turn=142
@THEN
CREATEUNIT
unit=Tamerlane
owner=TRIGGERATTACKER
veteran=yes
homecity=NONE
locations
109,47
108,46
107,45
106,44
105,43
0,0
0,0
0,0
0,0
endlocations
CHANGETERRAIN
terraintype=7
maprect
86,16,86,16,86,16,86,16
@ENDIF

@IF
UNITKILLED
unit=Ladislas
attacker=ANYBODY
defender=Latins
@THEN
TEXT
As young king's head is transported to enemies' capital,
crusadial spirit dies in catholic minds. Now Turks see
nothing and no-one is going to stop them from conquering
Constantinople. Byzantine emperor begs for a help
from the West.
ENDTEXT
CREATEUNIT
unit=Fortifications
owner=Latins
veteran=yes
homecity=NONE
locations
9,1
10,2
0,0
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
CHANGETERRAIN
terraintype=2
maprect
61,33,63,33,64,34,62,34
GIVETECHNOLOGY
receiver=Latins
technology=17
@ENDIF

@IF
UNITKILLED
unit=Sigimund
attacker=ANYBODY
defender=Latins
@THEN
TEXT
Defeated Sigimund returns to his kingdom. Crusade is over.
ENDTEXT
GIVETECHNOLOGY
receiver=Latins
technology=33
@ENDIF

@IF
RANDOMTURN
denominator=4
@THEN
TEXT
According to Nymphaion treaty, Genuans send Byzantines naval relief force
in exchange to the "proper" (85%) share in zoll profits.
ENDTEXT
CREATEUNIT
unit=Genuan Galley
owner=Byzantines
veteran=no
homecity=Constantinople
locations
84,16
82,16
0,0
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
CHANGEMONEY
receiver=Byzantines
amount=-1000
@ENDIF

@IF
UNITKILLED
unit=Ghazi
attacker=Serbs
defender=Turks
@THEN
CREATEUNIT
unit=Ghazi
owner=Turks
veteran=yes
homecity=NONE
locations
23,55
6,18
11,15
13,11
19,11
23,13
30,16
37,15
40,22
endlocations
@ENDIF

@IF
UNITKILLED
unit=Mamelucks
attacker=Byzantines
defender=Egyptians
@THEN
TEXT
Convinced by the Latins, byzantine emperor closes up Bosphor
for egyptian mamluk recruits.
ENDTEXT
JUSTONCE
GIVETECHNOLOGY
receiver=Egyptians
technology=41
@ENDIF

@IF
CITYTAKEN
city=Athenae
attacker=Byzantines
defender=Latins
@THEN
TEXT
Athens captured by Byzantines!
Prince Nero, sieged in Acropolis,
calls Turks for help.
ENDTEXT
CREATEUNIT
unit=Conqueror
owner=Latins
veteran=yes
homecity=NONE
locations
26,50
26,50
26,50
26,50
26,50
0,0
0,0
0,0
0,0
endlocations
CHANGETERRAIN
terraintype=2
maprect
26,50,26,50,26,50,26,50
@ENDIF

@IF
RANDOMTURN
denominator=4
@THEN
CREATEUNIT
unit=Hospitaliers
owner=Latins
veteran=yes
homecity=NONE
locations
115,83
51,75
0,0
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
@ENDIF

@IF
TURN
turn=142
@THEN
CREATEUNIT
unit=Fatih
owner=TRIGGERATTACKER
veteran=yes
homecity=NONE
locations
102,44
101,43
100,42
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
CHANGETERRAIN
terraintype=7
maprect
87,13,87,13,87,19,87,19
@ENDIF

@IF
TURN
turn=142
@THEN
CREATEUNIT
unit=Fatih
owner=TRIGGERATTACKER
veteran=no
homecity=NONE
locations
102,44
101,43
100,42
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
CHANGETERRAIN
terraintype=7
maprect
90,12,90,12,90,20,90,20
@ENDIF

@IF
TURN
turn=142
@THEN
CREATEUNIT
unit=Fatih
owner=TRIGGERATTACKER
veteran=yes
homecity=NONE
locations
102,44
101,43
100,42
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
CHANGETERRAIN
terraintype=7
maprect
90,12,94,12,94,12,90,12
@ENDIF

@IF
TURN
turn=142
@THEN
CREATEUNIT
unit=Fatih
owner=TRIGGERATTACKER
veteran=yes
homecity=NONE
locations
96,58
95,47
94,56
93,55
0,0
0,0
0,0
0,0
0,0
endlocations
CHANGETERRAIN
terraintype=7
maprect
90,20,94,20,94,20,90,20
@ENDIF

@IF
TURN
turn=142
@THEN
CREATEUNIT
unit=Fatih
owner=TRIGGERATTACKER
veteran=yes
homecity=NONE
locations
96,58
95,57
94,56
93,55
92,54
0,0
0,0
0,0
0,0
endlocations
CHANGETERRAIN
terraintype=7
maprect
90,16,92,16,92,16,90,16
@ENDIF

@IF
TURN
turn=142
@THEN
CREATEUNIT
unit=Fatih
owner=TRIGGERATTACKER
veteran=yes
homecity=NONE
locations
96,58
95,57
94,56
93,55
92,54
0,0
0,0
0,0
0,0
endlocations
CHANGETERRAIN
terraintype=7
maprect
100,12,100,12,100,20,100,20
@ENDIF

@IF
TURN
turn=142
@THEN
CREATEUNIT
unit=Fatih
owner=TRIGGERATTACKER
veteran=yes
homecity=NONE
locations
112,46
111,45
110,44
109,43
108,42
0,0
0,0
0,0
0,0
endlocations
CHANGETERRAIN
terraintype=7
maprect
104,12,108,12,108,12,104,12
@ENDIF

@IF
TURN
turn=142
@THEN
CREATEUNIT
unit=Fatih
owner=TRIGGERATTACKER
veteran=no
homecity=NONE
locations
112,46
111,45
110,44
109,43
108,42
0,0
0,0
0,0
0,0
endlocations
CHANGETERRAIN
terraintype=7
maprect
106,12,106,12,106,20,106,20
@ENDIF

@IF
TURN
turn=143
@THEN
CREATEUNIT
unit=Fatih
owner=TRIGGERATTACKER
veteran=yes
homecity=NONE
locations
112,46
11145,0
110,44
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
CHANGETERRAIN
terraintype=2
maprect
26,32,26,32,26,32,26,32
@ENDIF

@IF
TURN
turn=164
@THEN
TEXT
Egyptians make a spurize raid at Cyprus!
ENDTEXT
CREATEUNIT
unit=Conqueror
owner=Egyptians
veteran=yes
homecity=NONE
locations
96,86
97,85
99,85
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
CHANGETERRAIN
terraintype=2
maprect
99,77,99,77,99,77,99,77
@ENDIF

@IF
TURN
turn=164
@THEN
CREATEUNIT
unit=Mamelucks
owner=Egyptians
veteran=yes
homecity=NONE
locations
96,86
97,85
99,85
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
CHANGETERRAIN
terraintype=10
maprect
24,34,24,34,24,34,24,34
@ENDIF

@IF
TURN
turn=166
@THEN
TEXT
Egyptians head for cyprian capital!
ENDTEXT
CREATEUNIT
unit=Conqueror
owner=Egyptians
veteran=yes
homecity=NONE
locations
98,80
100,80
98,82
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
CHANGETERRAIN
terraintype=2
maprect
99,79,99,79,99,79,99,79
@ENDIF

@IF
TURN
turn=167
@THEN
CREATEUNIT
unit=Fortifications
owner=Latins
veteran=yes
homecity=NONE
locations
103,81
103,81
0,0
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
CHANGETERRAIN
terraintype=10
maprect
99,77,101,77,101,79,99,79
@ENDIF

@IF
CITYTAKEN
city=Lefcosia
attacker=Egyptians
defender=Latins
@THEN
TEXT
Capital of Cyprus plundered by Mamluks!
ENDTEXT
CREATEUNIT
unit=Catalonians
owner=Latins
veteran=yes
homecity=NONE
locations
103,81
103,81
0,0
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
CHANGEMONEY
receiver=Latins
amount=-500
@ENDIF

@IF
TURN
turn=179
@THEN
TEXT
Sinod of catholic bishops moves from Ferrara to Firenze.
"Union" between byzantine and roman church is established.
Byzantine people are revolting.
ENDTEXT
GIVETECHNOLOGY
receiver=Byzantines
technology=17
@ENDIF

@IF
CITYTAKEN
city=Dimashk
attacker=ANYBODY
defender=Egyptians
@THEN
TEXT
Damascus, capital of Syria, is taken by Tamerlane's hordes.
Enormous riches and amount of captives are transported
to Samarkand, and poor town is less or more accidentally
burned.
ENDTEXT
CHANGEMONEY
receiver=Egyptians
amount=-8000
JUSTONCE
CHANGETERRAIN
terraintype=10
maprect
115,81,115,81,115,81,115,81
@ENDIF

@IF
TURN
turn=141
@THEN
TEXT
Tamerlane's army enters Syria
ENDTEXT
CREATEUNIT
unit=Fatih
owner=TRIGGERATTACKER
veteran=no
homecity=NONE
locations
126,74
127,75
125,73
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
CHANGETERRAIN
terraintype=7
maprect
112,12,112,12,112,20,112,20
@ENDIF

@IF
CITYTAKEN
city=Haleb
attacker=ANYBODY
defender=Egyptians
@THEN
TEXT
Aleppo, second main important city of Syria,
is captured by Tamerlane's troops. Fortunatelly
the city avoids serious plundering, as it becomes
temporary seat of this great warrior.
ENDTEXT
JUSTONCE
CHANGETERRAIN
terraintype=2
maprect
115,81,115,81,115,81,115,81
@ENDIF

@IF
TURN
turn=141
@THEN
TEXT
Egyptian sultan, after first skirmish, flees to Cairo,
leaving his syrian provinces free for plunder.
ENDTEXT
CREATEUNIT
unit=Fatih
owner=TRIGGERATTACKER
veteran=yes
homecity=NONE
locations
123,75
122,74
124,76
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
CHANGETERRAIN
terraintype=10
maprect
112,18,112,18,112,18,112,18
@ENDIF

@IF
TURN
turn=141
@THEN
CREATEUNIT
unit=Fatih
owner=TRIGGERATTACKER
veteran=yes
homecity=NONE
locations
126,74
127,75
128,76
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
CHANGETERRAIN
terraintype=2
maprect
97,53,97,53,97,53,97,53
@ENDIF

@IF
RANDOMTURN
denominator=2
@THEN
CREATEUNIT
unit=Mon.Cavalery
owner=TRIGGERATTACKER
veteran=yes
homecity=NONE
locations
126,76
126,76
126,76
126,76
126,76
0,0
0,0
0,0
0,0
endlocations
@ENDIF

@IF
CITYTAKEN
city=Dimashk
attacker=Egyptians
defender=ANYBODY
@THEN
TEXT
Mamluks liberate Damascus, but the city is just
the shadow of it's past, and so mamluk state in
general.
ENDTEXT
JUSTONCE
@ENDIF

@IF
UNITKILLED
unit=Ghazi
attacker=Latins
defender=Turks
@THEN
CREATEUNIT
unit=Ghazi
owner=Turks
veteran=yes
homecity=NONE
locations
97,67
101,71
94,74
94,74
94,74
94,74
94,74
0,0
0,0
endlocations
@ENDIF

@IF
CITYTAKEN
city=Al-Kuds
attacker=ANYBODY
defender=Egyptians
@THEN
TEXT
Jerusalem liberated!
ENDTEXT
CHANGETERRAIN
terraintype=10
maprect
64,34,64,34,64,34,64,34
@ENDIF

@IF
CITYTAKEN
city=Al-Kahira
attacker=ANYBODY
defender=Egyptians
@THEN
TEXT
Cairo, the capital of Egypt plundered!
ENDTEXT
CHANGETERRAIN
terraintype=10
maprect
64,34,64,34,64,34,64,34
@ENDIF

@IF
CITYTAKEN
city=Constantinople
attacker=ANYBODY
defender=Byzantines
@THEN
TEXT
You have taken the imperial city!
You can now consider yourself
true inheritant of the old Empire.
ENDTEXT
CREATEUNIT
unit=TheodosianWall
owner=Latins
veteran=no
homecity=Constantinople
locations
67,37
0,0
0,0
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
CHANGEMONEY
receiver=Latins
amount=4000
CHANGETERRAIN
terraintype=10
maprect
64,34,64,34,64,34,64,34
GIVETECHNOLOGY
receiver=TRIGGERDEFENDER
technology=13
@ENDIF

@IF
CITYTAKEN
city=Ankara
attacker=ANYBODY
defender=Turks
@THEN
TEXT
Tamerlane wins the battle of Ankara and for a while,
it seems there is a chance that the Turks will be stopped.
ENDTEXT
CREATEUNIT
unit=Conqueror
owner=TRIGGERATTACKER
veteran=yes
homecity=Ankara
locations
87,51
88,52
0,0
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
CHANGEMONEY
receiver=Turks
amount=-1000
CHANGETERRAIN
terraintype=2
maprect
24,34,24,34,24,34,24,34
@ENDIF

@IF
CITYTAKEN
city=Ankara
attacker=ANYBODY
defender=Turks
@THEN
TEXT
Taking profit of the poor situation of Ottoman Empire,
Byzantines plan regaining control over Thessalonike
ENDTEXT
CREATEUNIT
unit=Byz.Galley
owner=Byzantines
veteran=yes
homecity=NONE
locations
26,32
26,32
0,0
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
CHANGEMONEY
receiver=Byzantines
amount=-300
CHANGETERRAIN
terraintype=10
maprect
26,32,26,32,26,32,26,32
@ENDIF

@IF
CITYTAKEN
city=Thessalonike
attacker=Byzantines
defender=Turks
@THEN
TEXT
Byzantines liberate Thessalonike, the biggest
port city of Aegean coast.
ENDTEXT
CREATEUNIT
unit=Fortifications
owner=Byzantines
veteran=no
homecity=Thessalonike
locations
25,31
25,31
23,33
27,33
0,0
0,0
0,0
0,0
0,0
endlocations
CHANGEMONEY
receiver=Byzantines
amount=1000
CHANGETERRAIN
terraintype=2
maprect
26,32,26,32,26,32,26,32
@ENDIF

@IF
CITYTAKEN
city=Thessalonike
attacker=Byzantines
defender=Turks
@THEN
TEXT
But how long can Empire handle keeping it?
ENDTEXT
CREATEUNIT
unit=Fortifications
owner=Byzantines
veteran=no
homecity=Thessalonike
locations
27,33
27,33
23,33
25,33
0,0
0,0
0,0
0,0
0,0
endlocations
CHANGEMONEY
receiver=Turks
amount=-1000
CHANGETERRAIN
terraintype=10
maprect
24,34,24,34,24,34,24,34
@ENDIF

@IF
CITYTAKEN
city=Thessalonike
attacker=Latins
defender=ANYBODY
@THEN
TEXT
Thessalonike is sold  to Venetians...
ENDTEXT
CREATEUNIT
unit=Fatih
owner=Turks
veteran=yes
homecity=NONE
locations
24,32
23,31
0,0
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
CHANGEMONEY
receiver=Byzantines
amount=2000
@ENDIF

@IF
CITYTAKEN
city=Thessalonike
attacker=Turks
defender=Latins
@THEN
TEXT
...Latins soon loose the city to the Turks
ENDTEXT
CREATEUNIT
unit=Fortifications
owner=Turks
veteran=yes
homecity=NONE
locations
25,33
0,0
0,0
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
CHANGEMONEY
receiver=Latins
amount=-700
@ENDIF

@IF
TURN
turn=170
@THEN
CREATEUNIT
unit=Siege Engine
owner=Latins
veteran=yes
homecity=NONE
locations
25,35
25,31
26,32
27,33
0,0
0,0
0,0
0,0
0,0
endlocations
CHANGETERRAIN
terraintype=10
maprect
115,81,115,81,115,81,115,81
@ENDIF

@IF
TURN
turn=170
@THEN
CREATEUNIT
unit=Galeasa
owner=Latins
veteran=yes
homecity=NONE
locations
24,34
24,36
24,38
25,39
0,0
0,0
0,0
0,0
0,0
endlocations
@ENDIF

@IF
TURN
turn=170
@THEN
CREATEUNIT
unit=Galeasa
owner=Latins
veteran=yes
homecity=NONE
locations
24,34
24,36
24,38
25,39
0,0
0,0
0,0
0,0
0,0
endlocations
@ENDIF

@IF
TURN
turn=170
@THEN
CREATEUNIT
unit=Catalonians
owner=Latins
veteran=yes
homecity=NONE
locations
25,35
25,31
26,32
27,33
0,0
0,0
0,0
0,0
0,0
endlocations
@ENDIF

@IF
TURN
turn=180
@THEN
TEXT
Albanian revolt!
New state, under the rules of captain
J.K. Skanderberg is established.
ENDTEXT
CREATEUNIT
unit=Rebel
owner=TRIGGERATTACKER
veteran=yes
homecity=NONE
locations
8,42
9,33
0,0
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
CHANGETERRAIN
terraintype=2
maprect
9,33,9,33,9,33,9,33
@ENDIF

@IF
RANDOMTURN
denominator=3
@THEN
CREATEUNIT
unit=Conqueror
owner=TRIGGERATTACKER
veteran=yes
homecity=Ochrid
locations
9,33
0,0
0,0
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
@ENDIF

@IF
CITYTAKEN
city=Prilep
attacker=ANYBODY
defender=ANYBODY
@THEN
CREATEUNIT
unit=Fortifications
owner=TRIGGERATTACKER
veteran=yes
homecity=Ochrid
locations
12,30
12,30
0,0
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
CHANGEMONEY
receiver=TRIGGERDEFENDER
amount=-200
CHANGETERRAIN
terraintype=10
maprect
9,33,9,33,9,33,9,33
@ENDIF

@IF
TURN
turn=180
@THEN
CREATEUNIT
unit=Conqueror
owner=TRIGGERATTACKER
veteran=yes
homecity=Ochrid
locations
16,52
20,52
19,51
18,50
16,50
0,0
0,0
0,0
0,0
endlocations
CHANGEMONEY
receiver=Latins
amount=-300
@ENDIF

@IF
RANDOMTURN
denominator=1
@THEN
CREATEUNIT
unit=T.Warrior
owner=Latins
veteran=yes
homecity=NONE
locations
26,50
36,50
0,0
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
CHANGEMONEY
receiver=Latins
amount=20
@ENDIF

@IF
CITYTAKEN
city=Athenae
attacker=Latins
defender=Byzantines
@THEN
TEXT
Nero regains control over his duchy,
and Moreans have to pay enormous
contribution for the Turks.
ENDTEXT
CREATEUNIT
unit=Siege Engine
owner=Latins
veteran=yes
homecity=Athenae
locations
20,52
19,51
18,50
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
CHANGEMONEY
receiver=Byzantines
amount=-1000
MAKEAGGRESSION
who=Turks
whom=Byzantines
CHANGETERRAIN
terraintype=10
maprect
26,50,26,50,26,50,26,50
@ENDIF

@IF
TURN
turn=143
@THEN
CREATEUNIT
unit=Tamerlane
owner=TRIGGERATTACKER
veteran=no
homecity=NONE
locations
149,41
150,42
0,0
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
CHANGETERRAIN
terraintype=10
maprect
72,12,112,12,112,20,72,20
@ENDIF

@IF
UNITKILLED
unit=Byz.Cavalry
attacker=ANYBODY
defender=Byzantines
@THEN
CREATEUNIT
unit=Byz.Cavalry
owner=Byzantines
veteran=yes
homecity=NONE
locations
24,34
24,34
0,0
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
CHANGETERRAIN
terraintype=2
maprect
99,5,99,5,99,5,99,5
@ENDIF

@IF
UNITKILLED
unit=Fatih
attacker=ANYBODY
defender=Turks
@THEN
CREATEUNIT
unit=Fatih
owner=TRIGGERATTACKER
veteran=yes
homecity=NONE
locations
97,53
97,53
0,0
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
@ENDIF

@IF
UNITKILLED
unit=Mon.Cavalery
attacker=ANYBODY
defender=ANYBODY
@THEN
CREATEUNIT
unit=Mon.Cavalery
owner=TRIGGERDEFENDER
veteran=yes
homecity=NONE
locations
154,58
153,57
0,0
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
@ENDIF

@IF
UNITKILLED
unit=Mon.Cavalery
attacker=ANYBODY
defender=ANYBODY
@THEN
CREATEUNIT
unit=Mon.Cavalery
owner=TRIGGERDEFENDER
veteran=yes
homecity=NONE
locations
166,56
165,55
164,54
163,53
0,0
0,0
0,0
0,0
0,0
endlocations
@ENDIF

@IF
CITYTAKEN
city=Ankara
attacker=ANYBODY
defender=Turks
@THEN
CHANGETERRAIN
terraintype=10
maprect
97,53,97,53,97,53,97,53
@ENDIF

@IF
UNITKILLED
unit=Mamelucks
attacker=ANYBODY
defender=Egyptians
@THEN
CREATEUNIT
unit=Mamelucks
owner=Egyptians
veteran=yes
homecity=NONE
locations
99,77
99,77
0,0
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
@ENDIF

@IF
TURN
turn=141
@THEN
CREATEUNIT
unit=Fatih
owner=TRIGGERATTACKER
veteran=yes
homecity=NONE
locations
126,74
127,75
125,73
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
@ENDIF

@ENDEVENTS
